﻿using AutoMapper;
using Medical.Api.Write.Application.Command.RecyclingCleaning;
using Medical.Api.Write.Application.Command.RecyclingCleaning.Disinfects;
using Medical.Domain.RecoveryCleaning;

namespace Medical.Api.Write.AutoMapper
{
    /// <summary>
    /// 回收登记automapper映射
    /// </summary>
    public class RecyclingCleaningMapper:Profile
    {
        /// <summary>
        /// 构造方法
        /// </summary>
        public RecyclingCleaningMapper()
        {
            //回收登记的添加映射
            CreateMap<AddRecoveryRegistrationCommand, InstrumentRecovery>();
            //登记清洗的添加映射
            CreateMap<AddCleaningRegistrationCommand, CleaningRegistration>();
           //消毒登记的添加映射
            CreateMap<AddDisinfectionCommand, DisinfectionRegistration>();


        }
    }
}
